package com.gdawj.vue;

import com.gdawj.controleur.Fenetre;
import com.gdawj.ejb.AdministrateurEJBRemote;
import javax.annotation.Resource;
import javax.ejb.EJB;
import javax.jms.ConnectionFactory;
import javax.jms.Queue;


public class Lanceur {

        @EJB
        private static AdministrateurEJBRemote administrateurEJB;

        @Resource(mappedName="jms/webcole/ConnectionFactory")
        private static ConnectionFactory connectionFactory;
        @Resource(mappedName="jms/webcole/Queue")
        private static Queue queue;


	public static void main(String[] args) {
		
                // lancer l'application
		Fenetre f=new Fenetre(administrateurEJB,connectionFactory,queue);
		f.build();
	}
}
